package com.chenglai.article.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author rjh
 */
@ApiModel( value ="t_cl_article_info" )
@Table( name ="t_cl_article_info" )
public class ArticleInfo  implements Serializable {


	/**
	 * 主键
	 */
	@Id
   	@Column(name = "article_id",updatable = false )
	@ApiModelProperty( value="主键")
	private Integer articleId;

	/**
	 * 门店id
	 */
   	@Column(name = "shop_id" )
	@ApiModelProperty( value="门店id")
	private Integer shopId;

	/**
	 * 分类id
	 */
   	@Column(name = "category_id" )
	@ApiModelProperty( value="分类id")
	private Integer categoryId;

	/**
	 * 文章标题
	 */
   	@Column(name = "article_title" )
	@ApiModelProperty( value="文章标题")
	private String articleTitle;

	/**
	 * 作者
	 */
   	@Column(name = "article_author" )
	@ApiModelProperty( value="作者")
	private String articleAuthor;

	/**
	 * 内容
	 */
   	@Column(name = "article_message" )
	@ApiModelProperty( value="内容")
	private String articleMessage;

	/**
	 * 状态 0已删 1未删
	 */
   	@Column(name = "is_delete" )
	@ApiModelProperty( value="状态 0已删 1未删")
	private Integer isDelete;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	@ApiModelProperty( value="创建时间")
	private String createTime;

	/**
	 * 排序
	 */
   	@Column(name = "article_sort" )
	@ApiModelProperty( value="排序")
	private Integer articleSort;

  public Integer getArticleId() {
    return articleId;
  }

  public void setArticleId(Integer articleId) {
    this.articleId = articleId;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }


  public Integer getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(Integer categoryId) {
    this.categoryId = categoryId;
  }


  public String getArticleTitle() {
    return articleTitle;
  }

  public void setArticleTitle(String articleTitle) {
    this.articleTitle = articleTitle;
  }


  public String getArticleAuthor() {
    return articleAuthor;
  }

  public void setArticleAuthor(String articleAuthor) {
    this.articleAuthor = articleAuthor;
  }


  public String getArticleMessage() {
    return articleMessage;
  }

  public void setArticleMessage(String articleMessage) {
    this.articleMessage = articleMessage;
  }


  public Integer getIsDelete() {
    return isDelete;
  }

  public void setIsDelete(Integer isDelete) {
    this.isDelete = isDelete;
  }


  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }


  public Integer getArticleSort() {
    return articleSort;
  }

  public void setArticleSort(Integer articleSort) {
    this.articleSort = articleSort;
  }

}
